package com.entity;

import java.io.Serializable;
import java.util.Date;

public class Works implements Serializable {
    private int id;
    private int uid;
    private String name;
    private Date pushDate;
    private String doWork;

    private String workName;

    public Works() {
    }

    public Works(int id, int uid, String name, Date pushDate, String doWork) {
        this.id = id;
        this.uid = uid;
        this.name = name;
        this.pushDate = pushDate;
        this.doWork = doWork;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getPushDate() {
        return pushDate;
    }

    public void setPushDate(Date pushDate) {
        this.pushDate = pushDate;
    }

    public String getDoWork() {
        return doWork;
    }

    public void setDoWork(String doWork) {
        this.doWork = doWork;
    }

    @Override
    public String toString() {
        return "Works{" +
                "id=" + id +
                ", uid=" + uid +
                ", name='" + name + '\'' +
                ", pushDate=" + pushDate +
                ", doWork='" + doWork + '\'' +
                '}';
    }

    public String getWorkName() {
        return workName;
    }

    public void setWorkName(String workName) {
        this.workName = workName;
    }

    public Works(int id, int uid, String name, Date pushDate, String doWork, String workName) {
        this.id = id;
        this.uid = uid;
        this.name = name;
        this.pushDate = pushDate;
        this.doWork = doWork;
        this.workName = workName;
    }
}
